package com.example.task1.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GovernmentMyAppealBean {
    /**
     * total : 1
     * rows : [{"createTime":"2022-02-24 15:38:50","id":4,"userId":105,"appealCategoryId":4,"title":"这是一个诉求","content":"因为疫情，物价是在太高了，请处理一下。","undertaker":"物价局","state":"1","detailResult":"以让他们降价了","imgUrl":"/dev-api/profile/upload/image/2022/02/24/82a57055-3298-4b74-94e0-d2a222d3d19e.png","appealCategoryName":"衣食住行"}]
     * code : 200
     * msg : 查询成功
     */

    @SerializedName("total")
    private int total;
    @SerializedName("code")
    private int code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("rows")
    private List<RowsDTO> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<RowsDTO> getRows() {
        return rows;
    }

    public void setRows(List<RowsDTO> rows) {
        this.rows = rows;
    }

    public static class RowsDTO {
        /**
         * createTime : 2022-02-24 15:38:50
         * id : 4
         * userId : 105
         * appealCategoryId : 4
         * title : 这是一个诉求
         * content : 因为疫情，物价是在太高了，请处理一下。
         * undertaker : 物价局
         * state : 1
         * detailResult : 以让他们降价了
         * imgUrl : /dev-api/profile/upload/image/2022/02/24/82a57055-3298-4b74-94e0-d2a222d3d19e.png
         * appealCategoryName : 衣食住行
         */

        @SerializedName("createTime")
        private String createTime;
        @SerializedName("id")
        private int id;
        @SerializedName("userId")
        private int userId;
        @SerializedName("appealCategoryId")
        private int appealCategoryId;
        @SerializedName("title")
        private String title;
        @SerializedName("content")
        private String content;
        @SerializedName("undertaker")
        private String undertaker;
        @SerializedName("state")
        private String state;
        @SerializedName("detailResult")
        private String detailResult;
        @SerializedName("imgUrl")
        private String imgUrl;
        @SerializedName("appealCategoryName")
        private String appealCategoryName;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getAppealCategoryId() {
            return appealCategoryId;
        }

        public void setAppealCategoryId(int appealCategoryId) {
            this.appealCategoryId = appealCategoryId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getUndertaker() {
            return undertaker;
        }

        public void setUndertaker(String undertaker) {
            this.undertaker = undertaker;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getDetailResult() {
            return detailResult;
        }

        public void setDetailResult(String detailResult) {
            this.detailResult = detailResult;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getAppealCategoryName() {
            return appealCategoryName;
        }

        public void setAppealCategoryName(String appealCategoryName) {
            this.appealCategoryName = appealCategoryName;
        }
    }
}
